package com.logistics.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.easybuild.core.security.user.UserDao;
import cn.easybuild.core.security.user.UserServiceImpl;

import com.logistics.AdminUser;
import com.logistics.AdminUserQueryParam;
import com.logistics.dao.AdminUserDao;

@Service
public class AdminUserServiceImpl extends UserServiceImpl<AdminUser> implements AdminUserService {

	private AdminUserDao userDao;
	
	@Autowired
	public void setUserDao(AdminUserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	protected UserDao<AdminUser> getUserDao() {
		return userDao;
	}

	@Override
	public List<AdminUser> queryByParam(AdminUserQueryParam param) {
		return userDao.queryByParam(param);
	}
	
	

}
